<script>
function openTimeTable(courseno) {
    var url = 'pop_timetable_mini.php?id='+courseno;
    var options = 'width=480,height=335';

    window.open(url, 'timetable', options);
    return false;
}
</script>
<table width="100%" cellspacing="0" cellpadding="0" border="0" background="images/sub_bg.gif">
                  <tbody><tr>
                    <td><table width="823" cellspacing="0" cellpadding="0" border="0">
                        <tbody><tr>
                          <td background="images/sub_bg_title.gif"><img width="343" height="70" src="images/sub_title_friend.gif"/></td>
                        </tr>
                    </tbody></table></td>
                  </tr>
                  <tr>
                    <td valign="top" height="40"><table width="823" cellspacing="0" cellpadding="0" border="0">
                        <tbody><tr>
                          <td><img width="1" height="1" src="images/1blank.gif"/></td>
<td width="98" bgcolor="#000000" align="right"><a href="teacherCourseManage.php"><img width="85" height="24" border="0" src="images/sub_menu04_01.gif"/></a></td>
<td width="26" bgcolor="#000000"><img width="26" height="24" src="images/sub_menu_line.gif"/></td>
<td width="75" bgcolor="#000000"><a href="studentCourseManage.php"><img width="75" height="24" border="0" src="images/sub_menu04_02.gif"/></a></td>
<td width="26" bgcolor="#000000"><img width="26" height="24" src="images/sub_menu_line.gif"/></td>
<td width="48" bgcolor="#000000"><a href="bookManage.php"><img width="48" height="24" border="0" src="images/sub_menu04_03.gif"/></a></td>
<td width="26" bgcolor="#000000"><img width="26" height="24" alt="" src="images/sub_menu_line.gif"/></td>
<td width="93" bgcolor="#000000"><a href="courseTotal.php"><img width="85" height="24" border="0" src="images/sub_menu04_04.gif"/></a></td>
                        </tr>
                    </tbody></table></td>
                  </tr>
                  <tr>
                    <td><table width="823" cellspacing="0" cellpadding="0" border="0">
                        <tbody><tr>
                          <td width="30" valign="top"><img width="1" height="1" src="images/1blank.gif"/></td>
                          <td valign="top" height="40"><img width="168" height="19" src="images/sub_menu04_title01.gif"/></td>
                        </tr>
                        <tr>
                          <td valign="top"><img width="1" height="1" src="images/1blank.gif"/></td>
                          <td valign="top"><table width="100%" cellspacing="0" cellpadding="0" border="0" class="font">
                              <tbody><tr>
                                <td><table width="100%" cellspacing="0" cellpadding="0" border="0" class="font">
                                    <tbody><tr>
                                      <td valign="top" height="50"><table cellspacing="0" cellpadding="0" border="0" class="font">
                                          <tbody><tr>
                                            <td><img width="543" height="1" src="images/sub_company_01_01_line.gif"/></td>
                                          </tr>
                                          <tr>
                                            <td><table width="100%" cellspacing="0" cellpadding="0" border="0" class="font">
                                                <tbody><tr>
                                                  <td width="40" height="30"><img width="11" height="8" alt="" src="images/sub_company_01_01_img01.gif"/></td>
                                                  <td><form action="teacherCourseManage.php" >선생님 이름
                                                    <input type="text" maxlength="30" size="30" id="textfield26" class="font" name="name"/>
                                                      <input type="submit" value="검색" id="button4" class="font" name="button4"/></form></td>
                                                </tr>
                                            </tbody></table></td>
                                          </tr>
                                          <tr>
                                            <td><img width="543" height="1" src="images/sub_company_01_01_line.gif"/></td>
                                          </tr>
                                          <tr> </tr>
                                      </tbody></table></td>
                                    </tr>
                                    <tr>
                                      <td valign="top" height="70"><table width="100%" cellspacing="0" cellpadding="0" border="0" class="font">
                                          <tbody><tr>
                                            <td><table width="780" cellspacing="0" cellpadding="3" bordercolor="#cccccc" border="2" style="border-collapse: collapse;" class="font">
                                                <tbody><tr>
                                                  <td bgcolor="#f2f2f2"><div align="center">선생님 이름</div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center">총 강의수</div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center">총 학생수</div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center">주간 총 수업 시간</div></td>
                                                  <td bgcolor="#f2f2f2"><p align="center">월간 총 수업 시간</p></td>
                                                </tr>
                                                <tr>
                                                  <td bgcolor="#f2f2f2"><div align="center">{_itemData.mb_name}</div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center"><a href="#">{_itemData.courseCount}</a></div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center"><a href="#">{_itemData.studentCount}</a></div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center">{_itemData.week}</div></td>
                                                  <td bgcolor="#f2f2f2"><div align="center">{_itemData.month}</div></td>
                                                </tr>
                                            </tbody></table></td>
                                          </tr>
                                      </tbody></table></td>
                                    </tr>
                                    <tr>
                                      <td><table width="780" cellspacing="0" cellpadding="3" bordercolor="#cccccc" border="2" style="border-collapse: collapse;" class="font">
                                          <tbody><tr>
                                            <td><div align="center">순번</div></td>
                                            <td><div align="center">강의명</div></td>
                                            <td><div align="center">강의 코드</div></td>
                                            <td><div align="center">수업시간</div></td>
                                            <td><div align="center">강의 교재</div></td>
                                            <td><div align="center">학생수</div></td>
                                            <td><div align="center">정원</div></td>
                                          </tr>
                                          <!-- {@ _data} -->
                                          <tr>
                                            <td><div align="center">{.count}</div></td>
                                            <td><div align="center"/><a href="courseManageDetail.php?id={.courseno}">{.coursename}</a></td>
                                            <td><div align="center"/>{.coursecode}</td>
                                            <td><div align="center"><a onclick="return openTimeTable({.courseno})" href="#">{.starttime}</a></div></td>
                                            <td><div align="center"/>{.bookname}</td>
                                            <td><div align="center"/>{.studentCount}</td>
                                            <td><div align="center"/>{.perlimit}</td>
                                          </tr>
                                          <!-- {:} -->
                                          <tr>
                                            <td colspan="7"><div align="center">검색된 데이터가 없습니다</div></td>
                                          </tr>
                                          <!-- {/} -->
                                      </tbody></table>*강의를 클릭하면 수정할 수 있습니다.</td>
                                    </tr>
                                    <tr>
                                      <td height="40"><div align="center">{_pager}</div></td>
                                    </tr>
                                </tbody></table></td>
                              </tr>
                          </tbody></table></td>
                        </tr>
                    </tbody></table></td>
                  </tr>
                </tbody></table>
